﻿using System;
using System.Collections.Generic;
using System.Text;

namespace 装饰模式
{
    class Accessories : Decorator
    {
        public Accessories(Phone phone) : base(phone)
        {

        }

        public override void Print()
        {
            base.Print();
            AddAccessories();
        }

        public void AddAccessories()
        {
            Console.WriteLine("华为手机增加手机挂件");
        }
    }
}
